home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / RESOURCES / CH23 / hostscreen.gui < prev    next >
Text File  |  2004-02-09  |  3KB  |  124 lines

  1. //--- OBJECT WRITE BEGIN ---
  2. new GuiChunkedBitmapCtrl(HostScreen) {
  3.    profile = "GuiContentProfile";
  4.    horizSizing = "width";
  5.    vertSizing = "height";
  6.    position = "0 0";
  7.    extent = "640 480";
  8.    minExtent = "8 8";
  9.    visible = "1";
  10.    helpTag = "0";
  11.    bitmap = "./background.jpg";
  12.    useVariable = "0";
  13.    tile = "0";
  14.  
  15.    new GuiControl() {
  16.       profile = "GuiWindowProfile";
  17.       horizSizing = "center";
  18.       vertSizing = "center";
  19.       position = "60 74";
  20.       extent = "455 308";
  21.       minExtent = "8 8";
  22.       visible = "1";
  23.       helpTag = "0";
  24.  
  25.       new GuiTextCtrl() {
  26.          profile = "GuiTextProfile";
  27.          horizSizing = "right";
  28.          vertSizing = "bottom";
  29.          position = "12 36";
  30.          extent = "90 20";
  31.          minExtent = "8 8";
  32.          visible = "1";
  33.          helpTag = "0";
  34.          text = "Select Mission:";
  35.          maxLength = "255";
  36.       };
  37.       new GuiButtonCtrl() {
  38.          profile = "GuiButtonProfile";
  39.          horizSizing = "right";
  40.          vertSizing = "bottom";
  41.          position = "320 271";
  42.          extent = "127 23";
  43.          minExtent = "8 8";
  44.          visible = "1";
  45.          command = "StartHost();";
  46.          helpTag = "0";
  47.          text = "Start Hosting";
  48.       };
  49.       new GuiScrollCtrl() {
  50.          profile = "GuiScrollProfile";
  51.          horizSizing = "right";
  52.          vertSizing = "bottom";
  53.          position = "10 62";
  54.          extent = "436 200";
  55.          minExtent = "8 8";
  56.          visible = "1";
  57.          helpTag = "0";
  58.          willFirstRespond = "1";
  59.          hScrollBar = "dynamic";
  60.          vScrollBar = "alwaysOn";
  61.          constantThumbHeight = "0";
  62.          defaultLineHeight = "15";
  63.          childMargin = "0 0";
  64.  
  65.          new GuiTextListCtrl(HostMissionList) {
  66.             profile = "GuiTextArrayProfile";
  67.             horizSizing = "right";
  68.             vertSizing = "bottom";
  69.             position = "0 0";
  70.             extent = "394 54";
  71.             minExtent = "8 8";
  72.             visible = "1";
  73.             helpTag = "0";
  74.             enumerate = "0";
  75.             resizeCell = "1";
  76.             columns = "0";
  77.             fitParentWidth = "1";
  78.             clipColumnText = "0";
  79.                noDuplicates = "false";
  80.          };
  81.       };
  82.       new GuiTextEditCtrl() {
  83.          profile = "GuiTextEditProfile";
  84.          horizSizing = "right";
  85.          vertSizing = "bottom";
  86.          position = "98 15";
  87.          extent = "134 16";
  88.          minExtent = "8 8";
  89.          visible = "1";
  90.          variable = "pref::Player::Name";
  91.          helpTag = "0";
  92.          maxLength = "255";
  93.          historySize = "0";
  94.          password = "0";
  95.          tabComplete = "0";
  96.       };
  97.       new GuiTextCtrl() {
  98.          profile = "GuiTextProfile";
  99.          horizSizing = "right";
  100.          vertSizing = "bottom";
  101.          position = "12 11";
  102.          extent = "79 20";
  103.          minExtent = "8 8";
  104.          visible = "1";
  105.          helpTag = "0";
  106.          text = "Player Name:";
  107.          maxLength = "255";
  108.       };
  109.       new GuiButtonCtrl() {
  110.          profile = "GuiButtonProfile";
  111.          horizSizing = "right";
  112.          vertSizing = "bottom";
  113.          position = "10 272";
  114.          extent = "127 23";
  115.          minExtent = "8 8";
  116.          visible = "1";
  117.          command = "Canvas.setContent(MenuScreen);";
  118.          helpTag = "0";
  119.          text = "Menu";
  120.       };
  121.    };
  122. };
  123. //--- OBJECT WRITE END ---
  124.